package com.lin.boot05webadmin;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//指定三大原生servlet组件放在哪
@ServletComponentScan(basePackages = "com.lin.boot05webadmin")
@SpringBootApplication
//
@MapperScan(basePackages = "com.lin.boot05webadmin.mapper")
public class Boot05WebAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(Boot05WebAdminApplication.class, args);
    }

}
